package com.shop.servlet;

import com.shop.entity.ShowPageT;
import com.shop.entity.User;

import java.util.List;
import java.util.Map;

/**
 * com.shop.servlet文档说明
 *
 * @author Angluzh
 * @version 2022/9/13
 */
public interface BaseServlet<T> {
    T selectOne(T t);
    boolean update(T t);
    boolean insert(T t);
    boolean deleteById(Integer id);
    List<T> selectAll();
    ShowPageT<T> selectPage(ShowPageT<T> page);

    boolean delCheck(List<Integer> userList);


}
